home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectInput / Scrawl / readme.txt < prev    next >
Encoding:
Text File  |  2001-10-10  |  1.6 KB  |  59 lines

  1. //-----------------------------------------------------------------------------
  2. // 
  3. // Sample Name: Scrawl Sample
  4. // 
  5. // Copyright (c) 1998-2001 Microsoft Corporation. All rights reserved.
  6. // 
  7. //-----------------------------------------------------------------------------
  8.  
  9.  
  10. Description
  11. ===========
  12.   The Scrawl application demonstrates use of the mouse in exclusive mode in a 
  13.   windowed application.
  14.  
  15. Path
  16. ====
  17.   Source: DXSDK\Samples\Multimedia\DInput\Scrawl
  18.  
  19.   Executable: DXSDK\Samples\Multimedia\DInput\Bin
  20.  
  21. User's Guide
  22. ============
  23.   The main mouse button is always the left button, and the secondary button is 
  24.   always the right button, regardless of any settings the user may have made in 
  25.   Control Panel.
  26.  
  27.   To scrawl, hold down the left button and move the mouse. Click the right 
  28.   mouse button to invoke a pop-up menu. From the pop-up menu you can clear the 
  29.   client window, set the mouse sensitivity, or close the application.
  30.  
  31. Programming Notes
  32. =================
  33.   The Scrawl application demonstrates many aspects of DirectInput programming, 
  34.   including the following:
  35.       Using the mouse in exclusive mode in a windowed application.
  36.  
  37.       Releasing the mouse when Windows needs to use it for menu access.
  38.  
  39.       Reacquiring the mouse when Windows no longer needs it.
  40.  
  41.       Reading buffered device data.
  42.  
  43.       Deferring screen updates till movement on both axes has been fully 
  44.   processed.
  45.  
  46.       Event notifications of device activity.
  47.  
  48.       Restricting the cursor to an arbitrary region.
  49.  
  50.       Scaling raw mouse coordinates before using them.
  51.  
  52.       Using relative axis mode.
  53.   
  54.  
  55.    
  56.  
  57.   
  58.  
  59.